package cn.git.agent.basic;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * @description:
 * @program: bank-credit-sy
 * @author: lixuchun
 * @create: 2024-03-18 03:47:29
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ControllerTransformInfo extends BasicTransformInfo {

    /**
     * url 地址
     */
    public String urlAddress;

    /**
     * controller服务名称
     */
    public String controlName;

    /**
     * 方法名称
     */
    public String methodName;

    /**
     * 方法描述
     */
    public String methodDesc;

    /**
     * 重写构造方法
     *
     * @param modifyBegin
     */
    public ControllerTransformInfo(BasicTransformInfo modifyBegin) {
        super(modifyBegin);
    }

    /**
     * 重写toString方法
     *
     * @return
     */
    public String toString() {
        return "ControllerTransformInfo [urlAddress=" + urlAddress + ", controlName=" + controlName + ", methodName=" + methodName + ", methodDesc=" + methodDesc + ", begin=" + begin + ", errorMsg=" + errorMsg + ", createTime=" + createTime + ", keyId=" + keyId + ", ip=" + ip + ", logType=" + logType + ", end=" + end + ", userTime=" + userTime + ", errorType=" + errorType + "]";
    }
}
